<!-- 首页优质内容 -->
<template>
	<view id="body">
		<u-divider text="优质内容"></u-divider>
		<view id="inde-ximg">
			<image v-for="(item,index) in indexImgList" :key="index" :src="item.url" class="myimg" @click="indeximgclick(index)"></image>
		</view>
	</view>
</template>

<script>
	export default {
		name:"indexGoodContent",
		data() {
			return {
				indexImgList: [
					{
						id:'',
						url:"https://ft-glb.oss-cn-chengdu.aliyuncs.com/indeximg/swiper1.png"
					},
					{	
						id:'',
						url:'https://ft-glb.oss-cn-chengdu.aliyuncs.com/indeximg/swiper2.png'
					},
					{
						id:'',
						url:'https://ft-glb.oss-cn-chengdu.aliyuncs.com/indeximg/swiper3.png'
					}
				]
			}
		},
		methods:{
			indeximgclick(index){
				console.log(this.indexImgList[index].url)
			}
		}
	}
</script> 

<style scoped>
	@import url("../static/css/componentsCss/index/indexGoodContent.css");
</style>